﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddRelease.aspx.cs" Inherits="Actuals.AddRelease" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<base target  ="_self" />
 <link href="~/themes/ui-lightness/jquery.ui.all.css" rel="stylesheet" type="text/css" />
<link href="~/Actuals.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%= ResolveUrl("~/Scripts/jquery.js") %>"></script>
<script type="text/javascript" src="<%= ResolveUrl("~/Scripts/jquery.ui.datepicker.js") %>"></script>
<script type="text/javascript" src="<%= ResolveUrl("~/Scripts/jquery.ui.core.js") %>"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $("#<%=txtStartDate.ClientID %>").datepicker({ dateFormat: 'mm-dd-yy', changeMonth: true, changeYear: true, yearRange: '2011:2013' });

       $("#<%=txtEndDate.ClientID %>").datepicker({ dateFormat: 'mm-dd-yy', changeMonth: true, changeYear: true, yearRange: '2011:2013' });
        });


</script> 




    <title></title>
     
</head>
<body>
    <form id="form1" runat="server">
    
    <div id="divAddRelease" runat="server">
            <asp:Label ID="lblMsg" runat="server" CssClass="message"></asp:Label>
            <table>
                <tr>
                    <td>
                        <asp:Label ID="lblRelease" runat="server" CssClass="label">ReleaseDescription </asp:Label>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txtReleaseDescription" Rows="10" Columns="50" runat="server" TextMode="MultiLine"
                            CssClass="textfield"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblStartDate" runat="server" CssClass="label"> StartDate </asp:Label>
                    </td>
                    <td align="left">
                    <asp:TextBox ID="txtStartDate" runat="server" CssClass="textfield"></asp:TextBox> * (MM-dd-yyyy)
                    <asp:RequiredFieldValidator ID="rfvStartDate" runat="server" ControlToValidate="txtStartDate" ErrorMessage="Enter Start Date"></asp:RequiredFieldValidator>
                        
                    </td>
                </tr>
                 <tr>
                    <td>
                        <asp:Label ID="lblEndDate" runat="server" CssClass="label"> EndDate </asp:Label>
                    </td>
                    <td align="left">
                        <asp:TextBox id="txtEndDate" runat="server" CssClass="textfield"></asp:TextBox> *(MM-dd-yyyy)
                        <asp:RequiredFieldValidator ID="rfvEndDate" runat="server" ControlToValidate="txtEndDate" ErrorMessage="Enter End Date">
                        </asp:RequiredFieldValidator>
                    </td>
                </tr>
                  <tr>
                    <td>
                        <asp:Label ID="lblTeam" runat="server" CssClass="label"> Team </asp:Label>
                    </td>
                    <td align="left">
                        <asp:DropDownList ID="ddlTeam" runat="server" CssClass="textfield" >
                        </asp:DropDownList>
                    </td>
                </tr>
                 <tr>
                    <td colspan="2">
                        <asp:Button ID="btnSave"  Text="Save" OnClick = "btnSave_Click" runat="server">
                            </asp:Button>
                        <input type="button" value="Close" onclick="window.close();" />
                    </td>
                </tr>
            </table>
             <asp:HiddenField ID="hidProjectId" runat="server" />
        </div>
    
    </form>
    
    
</body>
</html>
